//
// Created by cljh on 2023/3/28.
//

#ifndef BIN_PACKING_NFPCONFIG_H
#define BIN_PACKING_NFPCONFIG_H


#include "NestPath.h"
#include "NfpKey.h"

class NfpConfig{//nfp
public:
    NestPath fixed,orbited;
    NfpKey key;
    NfpConfig(NestPath _fixed,NestPath _orbited,NfpKey _key){
        fixed=_fixed;
        orbited=_orbited;
        key= _key;
    }
    NfpKey getKey(){
        return key;
    }
    NfpConfig& operator=(const NfpConfig& other) {
        if (this != &other) {
            fixed = other.fixed;
            orbited = other.orbited;
            key = other.key;
        }
        return *this;
    }
    NfpConfig(const NfpConfig& other) :
        fixed(other.fixed),
        orbited(other.orbited),
        key(other.key)
    {}
};

#endif //BIN_PACKING_NFPCONFIG_H
